package com.sline.Reflect;

public class Demo1_Reflect {
    public static void main(String[] args) throws ClassNotFoundException {
        Class class1 = Class.forName("com.sline.Reflect.Person");
        Class class2 = Person.class;
        Person p = new Person();
        Class class3 = p.getClass();

        System.out.println(class1 == class2);
        System.out.println(class2 == class3);
    }
}
